package com.taomu.app.zongchouhuli.moudle.mine.activity;

import android.view.KeyEvent;
import android.view.View;

public class UserPatSuccessActivity extends UserRechargeResultsActivity {
    @Override
    protected void initEvent() {
        super.initEvent();
        mBackIm.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                UserOrderActivity.start(UserPatSuccessActivity.this, 0);
                finish();
            }
        });
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if(keyCode == KeyEvent.KEYCODE_BACK){
            UserOrderActivity.start(UserPatSuccessActivity.this, 0);
            finish();
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }
}
